FROM jiuqu/lumen-php-fpm:0.5

ENV EXEC_ENV = production

COPY . /var/www/application
RUN chmod 777 ./setupEnv.sh

CMD sh -c "./setupEnv.sh && php-fpm | tail -f /tmp/stdout"
